package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.UserShoppingCar;
import com.literaryfamily.literaryfamily.entity.UserShoppingCarExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserShoppingCarMapper {
    long countByExample(UserShoppingCarExample example);

    int deleteByExample(UserShoppingCarExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(UserShoppingCar row);

    int insertSelective(UserShoppingCar row);

    List<UserShoppingCar> selectByExample(UserShoppingCarExample example);

    UserShoppingCar selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("row") UserShoppingCar row, @Param("example") UserShoppingCarExample example);

    int updateByExample(@Param("row") UserShoppingCar row, @Param("example") UserShoppingCarExample example);

    int updateByPrimaryKeySelective(UserShoppingCar row);

    int updateByPrimaryKey(UserShoppingCar row);
}